package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.sql.Timestamp;

/**
 * @Auther: Stanley.Y
 * @Date: 2024/6/18
 * @Description: 接收站表实体类
 * @Version 1.0.0
 */
public class TReceiveStation extends BaseEntity {
    private int id; // 主键ID

    private String name; // 名称

    private String code; // 编码

    private double lon; // 经度

    private double lat; // 纬度

    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String used; // 是否正常使用

    private Timestamp createTime; // 创建时间

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public double getLon() {
        return lon;
    }

    public void setLon(double lon) {
        this.lon = lon;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public String getUsed() {
        return used;
    }

    public void setUsed(String used) {
        this.used = used;
    }

    @Override
    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "TReceiveStation =：{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", lon='" + lon + '\'' +
                ", lat='" + lat + '\'' +
                ", used='" + used + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
